<template>
  <h1>父组件标题reactive进行数据动态劫持</h1>
  <HelloWorld></HelloWorld>
</template>

<script>
import { ref } from "vue";
import HelloWorld from "./components/helloWold.vue";
export default {
  name: "App",
  components: { HelloWorld },
  setup() {
    function btnFn(val) {
      console.log("接收到了子组件传递过来的值...", val);
    }

    return {
      btnFn,
    };
  },
};
</script>

<style>
</style>